package QAInfo::View::HTML;

use strict;
use base 'Catalyst::View::TT';
use QAInfo::TT::ReportFilter;

__PACKAGE__->config({
    CATALYST_VAR => 'Catalyst',
    INCLUDE_PATH => [
        QAInfo->path_to( 'root', 'src' ),
        QAInfo->path_to( 'root', 'lib' )
    ],
    PRE_PROCESS  => 'config/main',
    WRAPPER      => 'site/wrapper',
    ERROR        => 'error.tt2',
    TIMER        => 0,
    FILTERS      => {
        'format_os' => \&QAInfo::TT::ReportFilter::format_os,
        'format_statistics' => \&QAInfo::TT::ReportFilter::format_statistics,
        'format_verdict'    => \&QAInfo::TT::ReportFilter::format_verdict,
    },
});

=head1 NAME

QAInfo::View::HTML - Catalyst TTSite View

=head1 SYNOPSIS

See L<QAInfo>

=head1 DESCRIPTION

Catalyst TTSite View.

=head1 AUTHOR

A clever guy

=head1 LICENSE

This library is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;

